Skip to content

refactor(routing): delegate model policy to Eyrie#80

Merged
Patel230 merged 2 commits into
mainfrom
harden/hawk-eyrie-model-policy
Jun 30, 2026
Merged

refactor(routing): delegate model policy to Eyrie#80
Patel230 merged 2 commits into
mainfrom
harden/hawk-eyrie-model-policy

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

  • delegate Hawk model defaults, cost tiers, preferred tier models, and role defaults to Eyrie catalog policy helpers
  • remove Hawk's direct lazy-provider constructor and add an audit guard against reintroducing lazy provider construction
  • sync external/eyrie to the merged Eyrie model policy commit GrayCodeAI/eyrie@036043c

Validation

  • golangci-lint run --timeout=5m ./internal/provider/routing ./internal/types ./internal/testaudit ./internal/engine ./internal/config ./cmd
  • go test ./internal/provider/routing ./internal/types ./internal/testaudit -count=1
  • go test ./internal/engine -count=1 -timeout=180s
  • go test ./cmd -count=1 -timeout=180s
  • go test ./internal/config -count=1 -timeout=180s
  • GOTMPDIR=/private/tmp/hawk-go-tmp GOCACHE=/private/tmp/hawk-policy-compile-gocache go test ./... -run '^$' -count=1 -timeout=180s -p 2
  • pre-push: boundary guards, govulncheck, go test ./..., go vet ./...

@Patel230 Patel230 merged commit 0ed1a5a into main Jun 30, 2026
18 checks passed
@Patel230 Patel230 deleted the harden/hawk-eyrie-model-policy branch June 30, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant